package com.xiaofan.config;

import com.xiaofan.bean.User;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author 晓帆
 * @version 1.0
 **/
@Data
@ConfigurationProperties(prefix = "db")
public class DbPropertites {
    String Driver;
    String url;
    String username;
    String password;

    User user1;
    Map map1;
    String[] arr1;
    List list1;


    User user2;
    Map map2;
    String[] arr2;
    List list2;


}
